package com.xpd.spring.demo.biz;

import com.xpd.spring.demo.mapper.UserMapper;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Data
@Service
public class UserBiz implements IuserBiz{
    @Autowired
    private UserMapper userMapper;
    public void login1(String name,String pwd){
        System.out.println("================登陆成功===================");
    }

    @Override
    public void login(String name, String pwd) {
        System.out.println("======实现接口的login方法=======");
    }

    @Override
    public void findByObject(Object user) {
        System.out.println("===========实现接口findByObject方法=========");
    }
}
